package com.xy.service;


import com.xy.entity.ViewerEntity;
import com.xy.request.BaseRequest;
import com.xy.request.FaceDetectionRequest;
import com.xy.request.GeneralRecordRequest;
import com.xy.response.InspectResponse;

import java.util.List;

/**
 * 核验接口类
 * @author guojian
 */
public interface IInspectService {

	/**
	 * 查找用户
	 * @param t
	 * @return
	 */
	List<ViewerEntity> viewerList(ViewerEntity t, List<Long> longIds);
	/**
	 * 核验
	 */
	InspectResponse oauthInspect(ViewerEntity t,BaseRequest baseRequest, String oauthType);
	/**
	 * 人脸核验
	 */
	ViewerEntity face(FaceDetectionRequest faceDetectionRequest);

	/**
	 * 人脸注册
	 */
	Boolean facefFaceRegister(FaceDetectionRequest faceDetectionRequest);
	/**
	 * 门禁记录保存
	 */
	Boolean recordSave(GeneralRecordRequest generalRecordRequest);
	/**
	 * 非正常门禁记录
	 */
	Boolean abnormalRecordSave(GeneralRecordRequest generalRecordRequest);

}
